#/bin/bash

sudo ps -ef | grep  restore2.sh | grep -v 'grep' | awk '{print $2}'| xargs kill -9
sudo ps -ef | grep  auto.sh | grep -v 'grep' | awk '{print $2}'| xargs kill -9
sudo dd if=/backup/pi0z.img of=/dev/mmcblk0 count=6823936
sudo sync
sudo shutdown now
